import request from '@/utils/request'
import id from 'element-ui/src/locale/lang/id'

// 查询角色列表
export function getList(query) {
  return request({
    url: '/system/teacher/list',
    method: 'get',
    params: query

  })
}

export function getsave(data) {
  return request({
    url: '/system/teacher/save',
    method: 'post',
    data: data
  })

}

export function getType() {
  return request({
    url: '/system/type/list',
    method: 'get'
  })

}

export function getdalete(id) {
  return request({
    url: '/system/teacher/' + id,
    method: 'delete'
  })
}










